<template>
  <div class="home">
    经营大数据
    <pagination :total="total" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></pagination>
  </div>
</template>

<script>
export default {
  name: 'home',
  components:{
  },
  data(){
    return{
      total:20,
      size:10,
      current:1
    }
  },
  methods:{
    handleCurrentChange(val){
      this.current = val
    },
    handleSizeChange(val){
      this.size = val
    }
  }
}
</script>

<style lang="less" scoped>
</style>
